What to do with many almost-same if-statements

visit shbcf.ru